package com.csot.ry.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.csot.common.annotation.Excel;
import com.csot.common.core.domain.BaseEntity;

/**
 * 省级ip段对象 t_total_segment
 * 
 * @author 刘沙
 * @date 2022-06-17
 */
public class TTotalSegment extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**  */
	private Long id;

	/** 起始地址 */
	@Excel(name = "起始地址")
	private String ipStart;

	/** 起始地址整型 */
	//@Excel(name = "起始地址整型")
	private Long ipStartI;

	/** 终止地址 */
	@Excel(name = "终止地址")
	private String ipEnd;

	/** 终止地址整型 */
	//@Excel(name = "终止地址整型")
	private Long ipEndI;

	/** 网络分类 */
	@Excel(name = "网络分类")
	private String ipType;

	/** 使用地市 */
	@Excel(name = "使用地市")
	private String ipCity;

	/** IP地址责任人 */
	@Excel(name = "IP地址责任人")
	private String ipUser;

	/** 管理部门 */
	@Excel(name = "管理部门")
	private String ipManagement;

	/** 使用状态 */
	@Excel(name = "使用状态")
	private String ipStatus;

	/** 子网 */
	@Excel(name = "子网")
	private String ipSubnet;

	/** 用户名称 */
	@Excel(name = "用户名称")
	private String ipUsername;

	@Excel(name = "备注")
	private String remark;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setIpStart(String ipStart) {
		this.ipStart = ipStart;
	}

	public String getIpStart() {
		return ipStart;
	}

	public void setIpStartI(Long ipStartI) {
		this.ipStartI = ipStartI;
	}

	public Long getIpStartI() {
		return ipStartI;
	}

	public void setIpEnd(String ipEnd) {
		this.ipEnd = ipEnd;
	}

	public String getIpEnd() {
		return ipEnd;
	}

	public void setIpEndI(Long ipEndI) {
		this.ipEndI = ipEndI;
	}

	public Long getIpEndI() {
		return ipEndI;
	}

	public void setIpType(String ipType) {
		this.ipType = ipType;
	}

	public String getIpType() {
		return ipType;
	}

	public void setIpCity(String ipCity) {
		this.ipCity = ipCity;
	}

	public String getIpCity() {
		return ipCity;
	}

	public void setIpUser(String ipUser) {
		this.ipUser = ipUser;
	}

	public String getIpUser() {
		return ipUser;
	}

	public void setIpManagement(String ipManagement) {
		this.ipManagement = ipManagement;
	}

	public String getIpManagement() {
		return ipManagement;
	}

	public void setIpStatus(String ipStatus) {
		this.ipStatus = ipStatus;
	}

	public String getIpStatus() {
		return ipStatus;
	}

	public void setIpSubnet(String ipSubnet) {
		this.ipSubnet = ipSubnet;
	}

	public String getIpSubnet() {
		return ipSubnet;
	}

	public void setIpUsername(String ipUsername) {
		this.ipUsername = ipUsername;
	}

	public String getIpUsername() {
		return ipUsername;
	}

	public String getRemark()
	{
		return remark;
	}

	public void setRemark(String remark)
	{
		this.remark = remark;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("ipStart", getIpStart()).append("ipStartI", getIpStartI()).append("ipEnd", getIpEnd())
				.append("ipEndI", getIpEndI()).append("ipType", getIpType()).append("ipCity", getIpCity())
				.append("ipUser", getIpUser()).append("ipManagement", getIpManagement())
				.append("ipStatus", getIpStatus()).append("ipSubnet", getIpSubnet())
				.append("ipUsername", getIpUsername()).append("createBy", getCreateBy())
				.append("createTime", getCreateTime()).append("updateBy", getUpdateBy())
				.append("updateTime", getUpdateTime()).append("remark", getRemark()).toString();
	}
}
